function t_cards__moveClickOnCard(e){e=document.getElementById("rec"+e);!e||(e=e.querySelectorAll(".t-cards__col"))&&Array.prototype.forEach.call(e,function(e){var t,c,n=e.querySelector(".t-cards__link");n&&(e.style.cursor="pointer",e.addEventListener("mousedown",function(){t=Date.now()}),e.addEventListener("mouseup",function(){c=Date.now(),!event.target.closest(".t-cards__link_second")&&1===event.which&&c-t<200&&n.click()}))})}function t_cards__addFocusOnTab(e){var t,e=document.getElementById("rec"+e);!e||(t=e.querySelector(".t-cards__container"))&&(document.body.addEventListener("keydown",function(e){"Tab"===e.key||9===e.keyCode?t.classList.add("t-cards__container_focus"):t.classList.contains("t-cards__container_focus")&&t.classList.remove("t-cards__container_focus")}),document.body.addEventListener("mousedown",function(){t.classList.contains("t-cards__container_focus")&&t.classList.remove("t-cards__container_focus")}))}function t_card__moveClickOnCard(e){e=document.getElementById("rec"+e);!e||(e=e.querySelectorAll(".t-card__col"))&&Array.prototype.forEach.call(e,function(e){var t,c,n=e.querySelector(".t-card__link");n&&(e.style.cursor="pointer",e.addEventListener("mousedown",function(){t=Date.now()}),e.addEventListener("mouseup",function(e){c=Date.now(),!e.target.closest(".t-card__link")&&!e.target.closest(".t-card__link_second")&&1===e.which&&c-t<200&&n.click()}))})}function t_card__addFocusOnTab(e){e=document.getElementById("rec"+e);e&&e.querySelector(".t-card__container")&&(document.body.addEventListener("keydown",function(e){var t=document.querySelector(".t-card__col_outline");"Tab"!==e.key&&9!==e.keyCode||(t&&t.classList.remove("t-card__col_outline"),!e.target.classList.contains("t-card__link")||(e=e.target.closest(".t-card__col"))&&e.classList.add("t-card__col_outline"))}),document.body.addEventListener("mousedown",function(){var e=document.querySelector(".t-card__col_outline");e&&e.classList.remove("t-card__col_outline")}))}